﻿Imports System
Imports System.Text

Namespace ItalloVilardo.Dominio

    <Serializable()> _
    Public Class Produto

        Private _id As Nullable(Of Long)
        Public Property Id() As Nullable(Of Long)
            Get
                Return _id
            End Get
            Set(ByVal value As Nullable(Of Long))
                _id = value
            End Set
        End Property

        Private _nome As String
        Public Property Nome() As String
            Get
                Return _nome
            End Get
            Set(ByVal value As String)
                _nome = value
            End Set
        End Property

        Private _preco As Double
        Public Property Preco() As Double
            Get
                Return _preco
            End Get
            Set(ByVal value As Double)
                _preco = value
            End Set
        End Property

        Private _categoria As Categoria
        Public Property Categoria() As Categoria
            Get
                Return _categoria
            End Get
            Set(ByVal value As Categoria)
                _categoria = value
            End Set
        End Property

        Private _nivel As String
        Public Property Nivel() As String
            Get
                Return _nivel
            End Get
            Set(ByVal value As String)
                _nivel = value
            End Set
        End Property


    End Class

End Namespace
